#include <stdio.h>

// 符号常量
#define LOWER 0
#define UPPER 300
#define STEP 20

void ftoc(void);

int main(){
    printf("F to C\n");
    ftoc();
    return 0;
}

void ftoc() {
    float fahr;
    for (fahr = LOWER; fahr <= UPPER; fahr = fahr + STEP) {
        printf("%3.0f%6.1f\n", fahr, (5.0 / 9.0) * (fahr - 32));
    }
}

